<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人信息</title>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
</head>
<body>
<%@include file="teaindex.jsp" %>
<div style="width: 70%;margin-left: 15%;">
<form name="form1">
<div class="input-group input-group-lg">
  <div class="input-group-prepend">
    <span class="input-group-text" id="inputGroup-sizing-lg">姓名</span>
  </div>
  <input type="text" class="form-control" name="tname" value="${findTeacher.tname }" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg">
</div>
<div class="input-group input-group-lg">
  <div class="input-group-prepend">
    <span class="input-group-text" id="inputGroup-sizing-lg">性别</span>
  </div>
  <input type="text" class="form-control" name="tsex" value="${findTeacher.tsex }" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg">
</div>
<div class="input-group input-group-lg">
  <div class="input-group-prepend">
    <span class="input-group-text" id="inputGroup-sizing-lg">学历</span>
  </div>
  <input type="text" class="form-control" name="teb" value="${findTeacher.teb }" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg">
</div>
<div class="input-group input-group-lg">
  <div class="input-group-prepend">
    <span class="input-group-text" id="inputGroup-sizing-lg">职称</span>
  </div>
  <input type="text" class="form-control" name="tpt" value="${findTeacher.tpt }" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg">
</div>
<input type="hidden" name="id" value="${findTeacher.id }">
<input type="hidden" name="tno" value="${findTeacher.tno }">
<input type="hidden" name="tpassword" value="${findTeacher.tpassword }">
<input class="btn btn-primary" type="button" value="修改" onclick="updatetea()">
<input class="btn btn-primary" type="button" value="修改密码" onclick="updatepwd()">
</form>
</div>
<script type="text/javascript">
function updatetea(){
	document.form1.action="updatetea";
	document.form1.submit();
}
function updatepwd(){
	document.form1.action="toupdatepwd";
	document.form1.submit();
}
</script>
</body>
</html>